module.exports = {
  makers: [
    {
      // 全平台都可用
      name: '@electron-forge/maker-zip'
    },
    {
      // Windows
      name: '@electron-forge/maker-squirrel',
      config: {
        authors: 'your name',
        iconUrl: './icon.ico',
        setupIcon: './icon.ico',
        certificateFile: './cert.pfx',
        certificatePassword: 'this-is-a-secret'
      }
    },
    {
      // Mac
      name: '@electron-forge/maker-dmg',
      config: {
        background: './assets/dmg-background.png',
        format: 'ULFO', // (OS X 10.11+ only)
        icon: './icon.icns'
      }
    },
    {
      name: '@electron-forge/maker-rpm',
      config: {
        options: {
          maintainer: 'Joe Bloggs',
          homepage: 'http://example.com'
        }
      }
    }
  ]
}
